home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 90 / CD Actual 90.iso / Software3D / VirtualLight / VLight1.3win32.exe / Examples / Level1 / Bpatch.vib < prev    next >
Encoding:
Text File  |  2002-10-07  |  776 b   |  24 lines

  1. // VirtuaLight VIB-Structure
  2.  
  3. ReadArchive "defshaders.vs"
  4.  
  5. Camera [ (0,3.5,-7),(0,2,0),(0,1,0) FieldOfView 40 Format(320, 240) FrameAspectRatio 4/3 ]
  6.  
  7. Background '.098039, .098039, .392157'*0.9
  8.  
  9. PointLight [ (-50,50, -50) Intensity i ]
  10. PointLight [ (55,40, -40) Intensity i ]
  11. PointLight [ (-20,40, 55) Intensity i/4 LightingAttributes SPECULAR ]
  12.  
  13. Shape [ Disk((0,-1,0), (0,1,0), 500) ground ]
  14.  
  15. Shape [
  16.  BicubicPatch(BEZIER, 8, 8,
  17.    (0.0, 0.0, 2.0), (1.0, 2.0, 0.0), (2.0, 2.0, 0.0), (3.0, 0.0,-2.0),
  18.    (0.0, 1.0, 0.0), (1.0, 1.0, 0.0), (2.0, 1.0, 0.0), (3.0, 1.0, 0.0),
  19.    (0.0, 2.0, 0.0), (1.0, 2.0, 0.0), (2.0, 2.0, 0.0), (3.0, 2.0, 0.0),
  20.    (0.0, 3.0, 2.0), (1.0, 5.0, 0.0), (2.0, 5.0, 0.0), (3.0, 3.0,-2.0) )
  21.    Rotate (30, -60, 0)
  22.    primitive
  23. ]
  24.